package com.ruoyi.common.utils.wxSend.common;

public class Constant {
	//=======【基本信息设置】=====================================
	//微信公众号身份的唯一标识。
	public static final String APPID = "wxad7edeaa575c5f6d";//需改
	//JSAPI接口中获取openid，审核后在公众平台开启开发模式后可查看
	public static final String APPSECRET = "18b61f0599dc1f616ffb60d895f8a9c5";//需改
	private static String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	public static String getAccess_token_url(){
		return ACCESS_TOKEN_URL.replace("APPID",APPID).replace("APPSECRET",APPSECRET);
	}
	public static String templateMsgUrl= "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN";

}
